package com.shanpin.shebao.admin.module.city;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shanpin.shebao.model.CitySite;

@Service
public class SiteService {

	@Autowired
	private SiteDao siteDao;
	
	public List<CitySite> list() {
		return siteDao.list();
	}
	
	
	public CitySite get(int cid) {
		CitySite data = siteDao.get(cid);
		return data;
	}
	
	public boolean update(CitySite cs) {
		return siteDao.update(cs);
	}
	
	public boolean delete(int cid) {
		return siteDao.delete(cid);
	}
	
}
